<?php
namespace Admin\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
    	if ($_SESSION['aid']==null) {
    		header("Location: ".U('admin/login/index'));
    	}
        $this->display();
    }

    public function welcome(){
        $this->display();
    }
}